#include<stdio.h>
#include<iostream>
#include<vector>

using namespace std;

class VectorUse{
    public:
        vector<int> initVector(){
            vector<int> temp;
            //int length = sizeof(array)/sizeof(array[0]);
            for(int i=0;i < 9;i++){
                temp.push_back(this->a[i]);
                //temp.push_back(array[i]);
            }
            return temp;
        }
    private:
        int a[10] = {1,2,3,4,5,6,7,8,9};
};

int main(){
    VectorUse V;
    vector<int> v;
    v = V.initVector();
    for(int i = 0; i < v.size();i++){
        cout << v.at(i);
    }
    cout << endl;
    return 0;
}